package com.school;

public class ManagerByInherit extends Employee 
{

	private String manageJob;
	
	public String getManageJob() {
		return manageJob;
	}

	public void setManageJob(String manageJob) {
		this.manageJob = manageJob;
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getName());
		sb.append("|");
		sb.append(getPosition());
		sb.append("|");
		sb.append(getTelephone());
		sb.append("|");
		sb.append(manageJob);
		
		return sb.toString();
	}
}
